package com.aiti.lulian.dto.crm;

import com.aiti.lulian.entity.crm.CrmListFieldConfig;
import com.aiti.base.core.base.dto.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CrmListFieldConfigDto extends PageDto {

    @ApiModelProperty("主键")
    private String baseId;

    @ApiModelProperty("字段名（英文）")
    private String fieldNameEn;

    @ApiModelProperty("字段名（中文）")
    private String fieldNameCh;

    @ApiModelProperty("所属模块")
    private String module;

    @ApiModelProperty("序号")
    private Integer sort;

    /**
     * '0'：否，'1'：是
     */
    @ApiModelProperty("是否显示")
    private String isShow;

    @ApiModelProperty("企业ID")
    private String enterpriseId;

    @ApiModelProperty("创建者")
    private String creator;

    @ApiModelProperty("创建时间")
    private Date baseCreateTime;

    @ApiModelProperty("更新时间")
    private Date baseUpdateTime;

    @ApiModelProperty("当前登录人用户ID")
    private String userId;

    @ApiModelProperty("新增或修改的参数对象")
    private List<CrmListFieldConfig> configList;
}